package com.springboot.mybatis.mapper;

import com.springboot.mybatis.entity.Passenger;

import java.util.List;

/*
 *DATE:2025/7/10
 */
public interface PassengerMapper {
    Passenger selectPassengerById(Integer id);

    List<Passenger> selectPassengerByCondition(Passenger passenger);

    List<Passenger> selectPassengerByCondition2(Passenger passenger);

    void updatePassengerIfNecessary(Passenger passenger);

    List<Passenger> selectPassengersIn(Integer... ids);
}
